package com.life.wd.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("产品视图对象")
public class ProductVO {

    @ApiModelProperty("产品ID")
    private Long id;

    @ApiModelProperty("产品分类")
    private String category;

    @ApiModelProperty("海报URL")
    private byte[] posterUrl;

    @ApiModelProperty("供应商ID")
    private Integer supplierId;

    @ApiModelProperty("供应商名称")
    private String supplierName;

    @ApiModelProperty("创建时间")
    private Date createdAt;

    @ApiModelProperty("更新时间")
    private Date updatedAt;
}    